﻿namespace PMS.Data.Entities.Logging
{
    /// <summary>
    /// Represents a log record
    /// </summary>
    public partial class Log : BaseEntity
    {
        /// <summary>
        /// Gets or sets the log level  
        /// </summary>
        public string LogLevel { get; set; }

        /// <summary>
        /// Gets or sets the full exception
        /// </summary>
        public string LogMessage { get; set; }

        /// <summary>
        /// Gets or sets the IP address
        /// </summary>
        public string IpAddress { get; set; }

        /// <summary>
        /// Gets or sets the customer identifier
        /// </summary>
        public int? CustomerId { get; set; }

        /// <summary>
        /// Gets or sets the page URL
        /// </summary>
        public string PageUrl { get; set; }

        /// <summary>
        /// Gets or sets the referrer URL
        /// </summary>
        public string ReferrerUrl { get; set; }

        //Set IsActive NotMapped
        //public bool IsActive { get; set; }
        //public DateTime CreatedOnTimeUtc { get; set; }
        //Set UpdatedOnTimeUtc NotMapped
        //public DateTime UpdatedOnTimeUtc { get; set; }
    }
}
